var mongoose = require("mongoose");
// 定义一个登录结构
var login = new mongoose.Schema({
  username: {
    type: String,
    require: true,
    trim: true
  },
  password: {
    type: String,
    trim: true
  }
});

module.exports = mongoose.model("Login", login);
